package com.xur.springboot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private int id;
    private String username;
    private String password;
    private int role;
    private String toux;
    private Integer status;

/*    //无参构造函数
    public User(){

    }

    //有参
    public User(int id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }*/
}
